package com.example.webapp.service;

import com.example.webapp.entity.User;
import org.springframework.security.core.Authentication;

public interface UserService {
    User registerUser(User user) throws Exception;
    String authenticateUser(String username, String password) throws Exception;
    void invalidateToken(String token);
    boolean isTokenInvalid(String token);
}